package cn.wolfcode.luowowo.comment.service;

import cn.wolfcode.luowowo.comment.domain.StrategyComment;
import cn.wolfcode.luowowo.comment.query.StrategyCommentQuery;
import org.springframework.data.domain.Page;

public interface IStrategyCommentService {
    /**
     * 保存攻略评论
     * @param comment
     */
    //创建时间


    void save(StrategyComment comment);

    /**
     * 芒果DB的评论的分页
     *
     * @param qo
     * @return
     */
    Page<StrategyComment> query(StrategyCommentQuery qo);

    /**
     * 评论点赞
     * @param toid
     * @param fromid
     * @return
     */
    boolean thumbUp(String toid, Long fromid);



}
